package com.xiaoshuidi.cloud.module.iot.dal.access;


import com.xiaoshuidi.cloud.module.iot.dal.pojo.TbDeviceOperation;

/**
 * <br>
 *
 * @author Porter
 * create by 2019/7/5
 * @Emial Porter.Wang@ixiaoshuidi.com
 */
public interface DeviceOperationDataAccess {
    /**
     * 添加设备开门记录
     *
     * @param tbDeviceOperation
     * @return
     */
    int insterDeviceOperationRecord(TbDeviceOperation tbDeviceOperation);

    /**
     * 修改设备操作记录
     *
     * @param tbDeviceOperation
     * @return
     */
    Boolean updateDeviceOperationRecord(TbDeviceOperation tbDeviceOperation);

    /**
     * 删除操作记录
     *
     * @param deviceNo
     * @return
     */
    Boolean deleteOperateRecord(String deviceNo);
}
